package com.twu.biblioteca;


public class Book {
    private String isbn;
    private String author;
    private String title;
    private boolean avail;
    private String reader;

    public Book(String isbn, String title, String author) {
        this.isbn = isbn;
        this.author = author;
        this.title = title;
    }

    public String getIsbn() {
        return isbn;
    }

    public String getAuthor() {
        return author;
    }

    public String getTitle() {
        return title;
    }

    public boolean equals(Book book)
    {
        if(this.isbn.equalsIgnoreCase(book.isbn) && this.author.equalsIgnoreCase(book.author) && this.title.equalsIgnoreCase(book.title))
        {
            return true;
        }
        return false;
    }
}
